package AbstractMapper;
    import java.awt.*;
    import javax.swing.*;
    public class AbstractMappingGUI extends JFrame {

        /**
		 * 
		 */
		private static final long serialVersionUID = 1L;
		public AbstractMappingGUI (String title) {
             super(title);

            // the JFrame already has a border layout by default, but
            // by doing this, we also get to specify a 2 pixel gap (i.e.,
            // margin) between components.
            setLayout(new BorderLayout(2,2));

            add(BorderLayout.NORTH, new JButton("North"));
            add(BorderLayout.SOUTH, new JButton("South"));
            add(BorderLayout.EAST, new JButton("East"));
            add(BorderLayout.WEST, new JButton("West", new ImageIcon("brain.gif")));

            setDefaultCloseOperation(EXIT_ON_CLOSE);
            setSize(500, 300);

        }


    }